package com.smforj.ssm.modules.lib.controller.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.smforj.ssm.frame.core.service.BaseService;
import com.smforj.ssm.frame.core.web.controller.BaseControllerImpl;
import com.smforj.ssm.modules.lib.controller.DeviceController;
import com.smforj.ssm.modules.lib.service.SysDeviceService;
import com.smforj.ssm.modules.sys.domain.SysDevice;
import com.smforj.ssm.modules.sys.domain.vo.SysDeviceVo;

/**
 * 设备信息接口实现
 * @author jadeshi
 * @date 2017/11/30 11:24
 * @name DeviceControllerImpl.java
 * @package com.smforj.ssm.sys.web.controller.impl
 **/
@Controller
@RequestMapping(value={"/admin/device"})
public class DeviceControllerImpl extends BaseControllerImpl<SysDevice, SysDeviceVo> implements DeviceController {

    @Autowired
    private SysDeviceService sysDeviceService;

    @Override
    protected BaseService<SysDevice> getBaseService() {
        return sysDeviceService;
    }
}
